package com.xuehu.cloud.dao;

import com.xuehu.cloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author guoweia@cslc.com.cn
 * @createTime 2020/11/17 17:57
 * @description
 */
@Mapper
public interface PaymentDao {

    public int create(@RequestBody Payment payment);
    public Payment getPaymentById(@Param("id") Long id);
}
